/**
 * @brief    Nodal数据基类定义
 *
 * @version  0.1
 * @author   wxc
 * @date     2024.12.04
 *         _
 *     ___| |__   ___ _ __   __ _  ___  _ __   __ _
 *    / __| '_ \ / _ \ '_ \ / _` |/ _ \| '_ \ / _` |
 *    \__ \ | | |  __/ | | | (_| | (_) | | | | (_| |
 *    |___/_| |_|\___|_| |_|\__, |\___/|_| |_|\__, |
 *                          |___/             |___/
 * @copyright (c) 2024 by 神工仿真, All Rights Reserved.
 */

#pragma once
#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/SGObject.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

/** @brief 单元基类
 *
 * 提供单元计算部分的共有部分
 */
struct DECLSPEC OptimizationBase : public SGObject
{
  public:
    OptimizationBase () = default;
    explicit OptimizationBase (SG::DataStructure::Common::Id id);
};

inline OptimizationBase::OptimizationBase (SG::DataStructure::Common::Id id) : SGObject (id)
{}

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE